package com.weifangfirecontrolformal.weifangfirecontrolformal.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.weifangfirecontrolformal.weifangfirecontrolformal.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("notice_announcement")//通知公告
public class NoticeAnnouncement extends BasisEntity {

    private String id;//主键
    private Integer announcementType;//通告类型: 对应字典表中的数据：会议通告 奖惩通告 活动通告 其它
    private String contentDes;//内容描述
    private Boolean state;//通告状态:0 暂存草稿 1 直接发布
    private Boolean ishaveReceivingUnit;//是否有接收单位：0 没有 1 有
    private Boolean ishaveFile;//是否有附件：0 没有 1 有
    private Date publishtime;//发布时间
    private String createPersonId;//创建人id
    private Boolean isDel;//是否已经删除
    private Date createtime;//创建时间
    private String orgId;//机构id

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public Integer getAnnouncementType() {
        return this.getInteger("announcementType");
    }

    public void setAnnouncementType(Integer announcementType) {
        this.put("announcementType",announcementType);
    }

    public String getContentDes() {
        return this.getString("contentDes");
    }

    public void setContentDes(String contentDes) {
        this.put("contentDes",contentDes);
    }

    public Boolean getState() {
        return this.getBoolean("state");
    }

    public void setState(Boolean state) {
        this.put("state",state);
    }

    public Boolean getIshaveReceivingUnit() {
        return this.getBoolean("ishaveReceivingUnit");
    }

    public void setIshaveReceivingUnit(Boolean ishaveReceivingUnit) {
        this.put("ishaveReceivingUnit",ishaveReceivingUnit);
    }

    public Boolean getIshaveFile() {
        return this.getBoolean("ishaveFile");
    }

    public void setIshaveFile(Boolean ishaveFile) {
        this.put("ishaveFile",ishaveFile);
    }

    public Date getPublishtime() {
        return this.getDate("publishtime");
    }

    public void setPublishtime(Date publishtime) {
        this.put("publishtime",publishtime);
    }

    public String getCreatePersonId() {
        return this.getString("createPersonId");
    }

    public void setCreatePersonId(String createPersonId) {
        this.put("createPersonId",createPersonId);
    }

    public Boolean getDel() {
        return this.getBoolean("del");
    }

    public void setDel(Boolean del) {
        this.put("del",del);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }

    public String getOrgId() {
        return this.getString("orgId");
    }

    public void setOrgId(String orgId) {
        this.put("orgId",orgId);
    }
}
